package com.ruoyi.web.domain.BT;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class CommentForm {
    @NotNull(message = "种子ID不能为空")
    private Integer torrentId;

    private Integer pid; // 可选，楼中楼评论

    @NotBlank(message = "评论内容不能为空")
    @Size(max = 1000, message = "评论内容不能超过1000个字符")
    private String comment;
}